package cn.csg.iotplatform.module.system.controller.admin.permission.vo.role;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UserRolesRespVo {

    private Long id;

    @Schema(description = "角色名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "角色描述", requiredMode = Schema.RequiredMode.REQUIRED)
    private String remark;

    @Schema(description = "是否公共(0-否,1-是)", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer isPublic;

    @Schema(description = "创建人id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long creator;

    @Schema(description = "创建人名称", example = "创建人名称")
    private String creatorName;

    @Schema(description = "创建人单位", example = "创建人单位")
    private String creatorDept;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "是否有关联(0-否,1-是)", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer isRelations;

}
